package com.learning.mybatis.practise.page.plugin;

import lombok.Getter;
import lombok.Setter;

/**
 * ClassName: PageParam
 * Description:
 * Date: 2020/8/16 13:33 【需求编号】
 *
 * @author Sam Sho
 * @version V1.0.0
 */
@Setter
@Getter
public class PageParam {

    private boolean useFlag;
    /**
     * 当前页码
     */
    private Integer page = 1;
    /**
     * 每页条数
     */
    private Integer pageSize = 10;

    /**
     * 当前SQL 返回总数，插件回填
     */
    private Integer total;
    /**
     * 分页总页面
     */
    private Integer totalPage;
}
